package com.jin10.bean;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * @author raofy
 * @date 2022-01-24 17:41
 * @desc
 */
public class EconomicsResponse {


    /**
     * actual : null
     * affect : 0
     * consensus : null
     * country : 中国
     * id : 237837
     * indicator_id : 1467
     * name : 本年迄今全国发电装机容量
     * previous : 232100
     * pub_time : 2022-01-23T16:00:00.000Z
     * revised : null
     * star : 3
     * time_period : 12月
     * unit : 万千瓦
     * video_url : null
     * pub_time_unix : 1642953600
     * time_status : 待确定
     */

    private Object actual;
    private int affect;
    private Object consensus;
    private String country;
    private int id;
    @JsonProperty("indicator_id")
    private int indicatorId;
    private String name;
    private String previous;
    @JsonProperty("pub_time")
    private String pubTime;
    private Object revised;
    private int star;
    @JsonProperty("time_period")
    private String timePeriod;
    private String unit;
    @JsonProperty("video_url")
    private Object videoUrl;
    @JsonProperty("pub_time_unix")
    private int pubTimeUnix;
    @JsonProperty("time_status")
    private String timeStatus;

    public Object getActual() {
        return actual;
    }

    public void setActual(Object actual) {
        this.actual = actual;
    }

    public int getAffect() {
        return affect;
    }

    public void setAffect(int affect) {
        this.affect = affect;
    }

    public Object getConsensus() {
        return consensus;
    }

    public void setConsensus(Object consensus) {
        this.consensus = consensus;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getIndicatorId() {
        return indicatorId;
    }

    public void setIndicatorId(int indicatorId) {
        this.indicatorId = indicatorId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPrevious() {
        return previous;
    }

    public void setPrevious(String previous) {
        this.previous = previous;
    }

    public String getPubTime() {
        return pubTime;
    }

    public void setPubTime(String pubTime) {
        this.pubTime = pubTime;
    }

    public Object getRevised() {
        return revised;
    }

    public void setRevised(Object revised) {
        this.revised = revised;
    }

    public int getStar() {
        return star;
    }

    public void setStar(int star) {
        this.star = star;
    }

    public String getTimePeriod() {
        return timePeriod;
    }

    public void setTimePeriod(String timePeriod) {
        this.timePeriod = timePeriod;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Object getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(Object videoUrl) {
        this.videoUrl = videoUrl;
    }

    public int getPubTimeUnix() {
        return pubTimeUnix;
    }

    public void setPubTimeUnix(int pubTimeUnix) {
        this.pubTimeUnix = pubTimeUnix;
    }

    public String getTimeStatus() {
        return timeStatus;
    }

    public void setTimeStatus(String timeStatus) {
        this.timeStatus = timeStatus;
    }

    @Override
    public String toString() {
        return "EconomicsResponse{" +
                "actual=" + actual +
                ", affect=" + affect +
                ", consensus=" + consensus +
                ", country='" + country + '\'' +
                ", id=" + id +
                ", indicatorId=" + indicatorId +
                ", name='" + name + '\'' +
                ", previous='" + previous + '\'' +
                ", pubTime='" + pubTime + '\'' +
                ", revised=" + revised +
                ", star=" + star +
                ", timePeriod='" + timePeriod + '\'' +
                ", unit='" + unit + '\'' +
                ", videoUrl=" + videoUrl +
                ", pubTimeUnix=" + pubTimeUnix +
                ", timeStatus='" + timeStatus + '\'' +
                '}';
    }
}
